<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <base href="<%=basePath%>"/>
    <title>菜单</title>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<link rel="stylesheet" type="text/css" href="styles.css"/>
	<link rel="stylesheet" href="<%=path%>/resources/easyUI/dhatv4.css"
			type="text/css"/>
  </head>
  
  <body style="background-color: #F9FBFF">
<div id="system_menu" style="display: inline; margin-left: 20px;"></div>
  		<script type="text/javascript"
			src="<%=path%>/resources/easyUI/dhatv4.js">
</script>
<script type="text/javascript">
var data = "<%=path%>/menu!showMenu.action";
function toUrl(node) {
	if (node.url != 'null')
		top.frames['mainFrame'].location = "<%=path%>/" + node.url;
}
var tree = new MenuTree('system_menu', '系统菜单', data, [ 'url' ], toUrl);
tree.render();
</script>
  </body>
</html>
